package com.funsport.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("point_records")
public class PointRecord implements Serializable {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Long userId;
    private Integer pointsChange;
    private String pointType;
    private String reason;
    private String description;
    private Long relatedEventId;
    private Long relatedClubId;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}

